projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0741701
)
ARM: tegra: allow custom usb manufacturer/product/vendor ids/strings
author
Marcel Ziswiler
<
[email protected]
>
Wed, 5 Aug 2015 22:46:58 +0000
(
00:46
+0200)
committer
Tom Warren
<
[email protected]
>
Thu, 13 Aug 2015 20:06:01 +0000
(13:06 -0700)
Allow for optional custom USB gadget manufacturer/product/vendor
IDs/strings to be specified.
Signed-off-by: Marcel Ziswiler <
[email protected]
>
Reviewed-by: Simon Glass <
[email protected]
>
Acked-by: Stephen Warren <
[email protected]
>
Signed-off-by: Tom Warren <
[email protected]
>
include/configs/tegra-common-usb-gadget.h
patch
|
blob
|
history
diff --git
a/include/configs/tegra-common-usb-gadget.h
b/include/configs/tegra-common-usb-gadget.h
index d70a4e73a0ac49baaa06a9a58dc0830cdd4a8695..e51da3f40571839a2c7cc8abbf12cfbafb8ca665 100644
(file)
--- a/
include/configs/tegra-common-usb-gadget.h
+++ b/
include/configs/tegra-common-usb-gadget.h
@@
-15,9
+15,15
@@
#define CONFIG_CI_UDC
#define CONFIG_CI_UDC_HAS_HOSTPC
#define CONFIG_USB_GADGET_DUALSPEED
+#ifndef CONFIG_G_DNL_VENDOR_NUM
#define CONFIG_G_DNL_VENDOR_NUM 0x0955
+#endif
+#ifndef CONFIG_G_DNL_PRODUCT_NUM
#define CONFIG_G_DNL_PRODUCT_NUM 0x701A
+#endif
+#ifndef CONFIG_G_DNL_MANUFACTURER
#define CONFIG_G_DNL_MANUFACTURER "NVIDIA"
+#endif
#define CONFIG_USB_GADGET_DOWNLOAD
/* USB mass storage protocol */
#define CONFIG_USB_FUNCTION_MASS_STORAGE